package com.czk.springboot.controller.resubmit;

import com.czk.springboot.service.resubmit.ResubmitService;
import com.github.houbb.resubmit.api.annotation.Resubmit;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chenzhangkun
 * @ClassName ResubmitController
 * @description: TODO
 * @date 2025年09月10日
 */
@RestController
@RequestMapping(value = "resubmit")
public class ResubmitController {
    @Resource
    private ResubmitService resubmitService;
    @GetMapping(value = "/test")
    public String testSubmit(@RequestParam(value = "orderId") String orderId) {
        return resubmitService.test(orderId);
    }




}
